package com.refactor.practice.movieType;

import com.refactor.practice.movieType.type.Childrens;
import com.refactor.practice.movieType.type.NewRelease;
import com.refactor.practice.movieType.type.Regular;

public enum MovieTypeEnum {
    REGULAR(Regular.getInctance()),
    NEW_RELEASE(NewRelease.getInctance()),
    CHILDRENS(Childrens.getInctance());

    public MovieType inctance;

    MovieTypeEnum(MovieType inctance) {
        this.inctance = inctance;
    }

    public MovieType getInctance() {
        return inctance;
    }
}
